package com.gs.thunder_manage.service;

import com.gs.thunder_manage.entity.APRegister;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/12/26 0026
 */

/*防雷行政处罚子系统*/
@Service
public interface APService {


    void addCase(APRegister register);

    void updateCase(APRegister register);

    void deleteCase(String id);


    List<APRegister> getCaseWithPage(Integer pageNum,Integer pageSize);
    //根据案件编号查询
    APRegister getCaseByIdWithPage(String id,Integer pageNum,Integer pageSize);
    //根据案件名查询
    List<APRegister> getCaseByNameWithPage(String name,Integer pageNum,Integer pageSize);
    //根据行政处罚类型查询
    List<APRegister> getCaseByTypeWithPage(String type,Integer pageNum,Integer pageSize);
    //根据立案时间查询
    List<APRegister> getCaseByTimeWithPage(String time,Integer pageNum,Integer pageSize);
    //根据被处罚人查询
    List<APRegister> getCaseByPersonWithPage(String person,Integer pageNum,Integer pageSize);

}
